<template>
	<view>
	  <view>这是列表</view>
	   <view v-for="item in list">
		 {{item}}
	   </view>
	</view>
</template>

<script>
	export default{
			data(){
				return{
					list:['123','456','789','123','456','789','123','456','789','123','456','789']
				}
			},
			onPullDownRefresh(){
				setTimeout(()=>{
					this.list=['789','456','123'];
					uni.stopPullDownRefresh();
				},2000);
			},
			onReachBottom(){
				this.list=['123','456','789','123','456','789','123','456','789','123','456','789','123','456','789'];
			},
		}
</script>

<style>
</style>